package com.xinshujia.entity;

/**
 * **********************************
 * *   @author: 野狼上校               **
 * *   @since: 2024-07-03 13:43      **
 * *   @version: 1.0                 **
 *************************************/

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.time.LocalDateTime;

/**
 * 设备振动数据
 */
@TableName("blade_acceleration_statistics")
public class AccelerationStatisticsEntity {
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    // 设备Id
    private String deviceGuid;
    // 通道号
    private Integer deviceChannel;
    // 计量单位
    private String unit;
    // 峰值
    private Double peak;
    // 谷值
    private Double valley;
    // 峰峰值
    private Double peakPeak;
    // 均值
    @TableField(value = "Meaning")
    private Double meaning;
    // 有效值
    private Double rms;
    // 创建时间
    private LocalDateTime createTime;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getDeviceGuid() {
        return deviceGuid;
    }

    public void setDeviceGuid(String deviceGuid) {
        this.deviceGuid = deviceGuid;
    }

    public Integer getDeviceChannel() {
        return deviceChannel;
    }

    public void setDeviceChannel(Integer deviceChannel) {
        this.deviceChannel = deviceChannel;
    }

    public String getUnit() {
        return unit;
    }

    public void setUnit(String unit) {
        this.unit = unit;
    }

    public Double getPeak() {
        return peak;
    }

    public void setPeak(Double peak) {
        this.peak = peak;
    }

    public Double getValley() {
        return valley;
    }

    public void setValley(Double valley) {
        this.valley = valley;
    }

    public Double getPeakPeak() {
        return peakPeak;
    }

    public void setPeakPeak(Double peakPeak) {
        this.peakPeak = peakPeak;
    }

    public Double getMeaning() {
        return meaning;
    }

    public void setMeaning(Double meaning) {
        this.meaning = meaning;
    }

    public Double getRms() {
        return rms;
    }

    public void setRms(Double rms) {
        this.rms = rms;
    }

    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }
}